package com.xiaoqi.api.service;

import com.xiaoqi.api.dto.EngineerDTO;
import com.xiaoqi.api.query.EngineerQuery;
import com.xiaoqi.api.utlis.PageResult;
import com.xiaoqi.api.vo.EngineerVO;
import com.xiaoqi.api.vo.UserVO;
import org.springframework.stereotype.Service;

@Service
public interface EngineerService {

    EngineerVO login(String loginName, String password);

    void add(EngineerDTO engineerDTO);

    PageResult<EngineerVO> find(EngineerQuery engineerQuery);

    void update(long id, EngineerDTO engineerDTO);

    void updateStatus(long id, byte status);

    EngineerVO findById(long id);
}
